Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Binary data</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Binary_data"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.math.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Binary_data rootpage-Binary_data skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Binary data</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1251242444">
/* start https://en.wikipedia.org/ */


.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}


/* end https://en.wikipedia.org/ */
</style>
<p><b>Binary data</b> is <a href="Data" title="Data">data</a> whose unit can take on only two possible states. These are often labelled as 0 and 1 in accordance with the <a href="Binary_numeral_system" class="mw-redirect" title="Binary numeral system">binary numeral system</a> and <a href="Boolean_algebra" title="Boolean algebra">Boolean algebra</a>.
</p><p>Binary data occurs in many different technical and scientific fields, where it can be called by different names including <i><a href="Bit" title="Bit">bit</a></i> (binary digit) in <a href="Computer_science" title="Computer science">computer science</a>, <i><a href="Truth_value" title="Truth value">truth value</a></i> in <a href="Mathematical_logic" title="Mathematical logic">mathematical logic</a> and related domains and <i><a href="#In_statistics">binary variable</a></i> in statistics.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Mathematical_and_combinatoric_foundations">Mathematical and combinatoric foundations</h2></div>
<p>A <a href="Finite_set" title="Finite set">discrete</a> variable that can take only <a href="One" class="mw-redirect" title="One">one</a> state contains zero <a href="Informational_entropy" class="mw-redirect" title="Informational entropy">information</a>, and <a href="2_(number)" class="mw-redirect" title="2 (number)">2</a> is the next <a href="Natural_number" title="Natural number">natural number</a> after 1. That is why the <a href="Bit" title="Bit">bit</a>, a variable with only two possible values, is a standard primary <a href="Units_of_information" title="Units of information">unit of information</a>.
</p><p>A collection of <span class="texhtml mvar" style="font-style:italic;">n</span> bits may have <span class="texhtml"><a href="Power_of_two" title="Power of two">2<sup><i>n</i></sup></a></span> states: see <a href="Binary_number" title="Binary number">binary number</a> for details. Number of states of a collection of discrete variables depends <a href="Exponential_function" title="Exponential function">exponentially</a> on the number of variables, and only as a <a href="Power_law" title="Power law">power law</a> on number of states of each variable. Ten bits have more (<a href="1024_(number)" title="1024 (number)">1024</a>) states than three <a href="Decimal_digit" class="mw-redirect" title="Decimal digit">decimal digits</a> (<a href="1000_(number)" title="1000 (number)">1000</a>). <span class="texhtml">10<i>k</i></span> bits are more than sufficient to represent an information (a <a href="Number" title="Number">number</a> or anything else) that requires <span class="texhtml">3<i>k</i></span> decimal digits, so information contained in discrete variables with <a href="Ternary_numeral_system" title="Ternary numeral system">3</a>, 4, 5, 6, 7, 8, 9, <a href="Neper" title="Neper">10</a>... states can be ever superseded by allocating two, three, or four times more bits. So, the use of any other small number than 2 does not provide an advantage.
</p>

<p>Moreover, Boolean algebra provides a convenient mathematical structure for collection of bits, with a semantic of a collection of <a href="Propositional_variable" title="Propositional variable">propositional variables</a>. Boolean algebra operations are known as "<a href="Bitwise_operation" title="Bitwise operation">bitwise operations</a>" in computer science. <a href="Boolean_function" title="Boolean function">Boolean functions</a> are also well-studied theoretically and easily implementable, either with <a href="Computer_program" title="Computer program">computer programs</a> or by so-named <a href="Logic_gate" title="Logic gate">logic gates</a> in <a href="Digital_electronics" title="Digital electronics">digital electronics</a>. This contributes to the use of bits to represent different data, even those originally not binary.
</p>
<div class="mw-heading mw-heading2"><h2 id="In_statistics">In statistics</h2></div>
<p>In <a href="Statistics" title="Statistics">statistics</a>, <b>binary data</b> is a <a href="Statistical_data_type" title="Statistical data type">statistical data type</a> consisting of <a href="Categorical_data" class="mw-redirect" title="Categorical data">categorical data</a>, that can take exactly two possible values, such as "A" and "B", or "heads" and "tails". It is also called <b>dichotomous data</b>, and an older term is <b>quantal data</b>.<sup id="cite_ref-FOOTNOTECollett20021_1-0" class="reference"><a href="#cite_note-FOOTNOTECollett20021-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> The two values are often referred to generically as "success" and "failure".<sup id="cite_ref-FOOTNOTECollett20021_1-1" class="reference"><a href="#cite_note-FOOTNOTECollett20021-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> As a form of categorical data, binary data is <a href="Nominal_data" class="mw-redirect" title="Nominal data">nominal data</a>, meaning the values are <a href="Qualitative_property" title="Qualitative property">qualitatively different</a> and cannot be compared numerically. However, the values are frequently represented as 1 or 0, which corresponds to counting the number of successes in a single trial: 1 (success…) or 0 (failure); see <a href="#Counting">§&nbsp;Counting</a>. More intuitively, binary data can be represented as <a href="Count_data" title="Count data">count data</a>.
</p><p>Often, binary data is used to represent one of two conceptually opposed values, e.g.:
</p>
<ul><li>the outcome of an experiment ("success" or "failure")</li>
<li>the response to a yes–no question ("yes" or "no")</li>
<li>presence or absence of some feature ("is present" or "is not present")</li>
<li>the truth or falsehood of a proposition ("true" or "false", "correct" or "incorrect")</li></ul>
<p>However, it can also be used for data that is assumed to have only two possible values, even if they are not conceptually opposed or conceptually represent all possible values in the space. For example, binary data is often used to represent the party choices of voters in elections in the United States, i.e. <a href="Republican_Party_(United_States)" title="Republican Party (United States)">Republican</a> or <a href="Democratic_Party_(United_States)" title="Democratic Party (United States)">Democratic</a>. In this case, there is no inherent reason why only two <a href="Political_party" title="Political party">political parties</a> should exist, and indeed, other parties do exist in the U.S., but they are so minor that they are generally simply ignored. Modeling continuous data (or categorical data of more than 2 categories) as a binary variable for analysis purposes is called <a href="Discretization" title="Discretization">dichotomization</a> (creating a <a href="Dichotomy" title="Dichotomy">dichotomy</a>). Like all discretization, it involves <a href="Discretization_error" title="Discretization error">discretization error</a>, but the goal is to learn something valuable despite the error: treating it as <a href="https://en.wiktionary.org/wiki/negligible" class="extiw external" title="wikt:negligible">negligible</a> for the purpose at hand, but remembering that it cannot be assumed to be negligible in general.
</p>
<div class="mw-heading mw-heading3"><h3 id="Binary_variables">Binary variables</h3></div>
<p>A <b>binary variable</b> is a <a href="Random_variable" title="Random variable">random variable</a> of binary type, meaning with two possible values. <a href="Independent_and_identically_distributed_random_variables" title="Independent and identically distributed random variables">Independent and identically distributed</a> (i.i.d.) binary variables follow a <a href="Bernoulli_distribution" title="Bernoulli distribution">Bernoulli distribution</a>, but in general binary data need not come from i.i.d. variables. Total counts of i.i.d. binary variables (equivalently, sums of i.i.d. binary variables coded as 1 or 0) follow a <a href="Binomial_distribution" title="Binomial distribution">binomial distribution</a>, but when binary variables are not i.i.d., the distribution need not be binomial.
</p>
<div class="mw-heading mw-heading3"><h3 id="Counting">Counting</h3></div>
<p>Like categorical data, binary data can be converted to a <a href="Array_data_structure" class="mw-redirect" title="Array data structure">vector</a> of <a href="Count_data" title="Count data">count data</a> by writing one coordinate for each possible value, and counting 1 for the value that occurs, and 0 for the value that does not occur.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> For example, if the values are A and B, then the data set A, A, B can be represented in counts as (1, 0), (1, 0), (0, 1). Once converted to counts, binary data can be <a href="Grouped_data" title="Grouped data">grouped</a> and the counts added. For instance, if the set A, A, B is grouped, the total counts are (2, 1): 2 A's and 1 B (out of 3 trials).
</p><p>Since there are only two possible values, this can be simplified to a single count (a scalar value) by considering one value as "success" and the other as "failure", coding a value of the success as 1 and of the failure as 0 (using only the coordinate for the "success" value, not the coordinate for the "failure" value). For example, if the value A is considered "success" (and thus B is considered "failure"), the data set A, A, B would be represented as 1, 1, 0. When this is grouped, the values are added, while the number of trial is generally tracked implicitly. For example, A, A, B would be grouped as 1 + 1 + 0 = 2 successes (out of <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n=3}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>n</mi>
<mo>=</mo>
<mn>3</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle n=3}</annotation>
</semantics>
</math></span><img src="./1c5a5a42ced00df920fad4ab2d4acdb960a4105b.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.656ex; height:2.176ex;" alt="{\displaystyle n=3}" loading="lazy"></span> trials). Going the other way, count data with <span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n=1}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>n</mi>
<mo>=</mo>
<mn>1</mn>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle n=1}</annotation>
</semantics>
</math></span><img src="./d9ec7e1edc2e6d98f5aec2a39ae5f1c99d1e1425.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.656ex; height:2.176ex;" alt="{\displaystyle n=1}" loading="lazy"></span> is binary data, with the two classes being 0 (failure) or 1 (success).
</p><p>Counts of i.i.d. binary variables follow a binomial distribution, with <span class="nowrap">⁠<span class="mwe-math-element mwe-math-element-inline"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}">
<semantics>
<mrow class="MJX-TeXAtom-ORD">
<mstyle displaystyle="true" scriptlevel="0">
<mi>n</mi>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">{\displaystyle n}</annotation>
</semantics>
</math></span><img src="./a601995d55609f2d9f5e233e36fbe9ea26011b3b.svg" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}" loading="lazy"></span>⁠</span> the total number of trials (points in the grouped data).
</p>
<div class="mw-heading mw-heading3"><h3 id="Regression">Regression</h3></div>
<style data-mw-deduplicate="TemplateStyles:r1236090951">
/* start https://en.wikipedia.org/ */


.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}


/* end https://en.wikipedia.org/ */
</style><div role="note" class="hatnote navigation-not-searchable">Main article: <a href="Binary_regression" title="Binary regression">Binary regression</a></div>
<p><a href="Regression_analysis" title="Regression analysis">Regression analysis</a> on predicted outcomes that are binary variables is known as <a href="Binary_regression" title="Binary regression">binary regression</a>; when binary data is converted to count data and modeled as i.i.d. variables (so they have a binomial distribution), <a href="Binomial_regression" title="Binomial regression">binomial regression</a> can be used. The most common regression methods for binary data are <a href="Logistic_regression" title="Logistic regression">logistic regression</a>, <a href="Probit_regression" class="mw-redirect" title="Probit regression">probit regression</a>, or related types of <a href="Binary_choice" class="mw-redirect" title="Binary choice">binary choice</a> models.
</p><p>Similarly, counts of i.i.d. categorical variables with more than two categories can be modeled with a <a href="Multinomial_regression" class="mw-redirect" title="Multinomial regression">multinomial regression</a>. Counts of non-i.i.d. binary data can be modeled by more complicated distributions, such as the <a href="Beta-binomial_distribution" title="Beta-binomial distribution">beta-binomial distribution</a> (a <a href="Compound_distribution" class="mw-redirect" title="Compound distribution">compound distribution</a>). Alternatively, the <i>relationship</i> can be modeled without needing to explicitly model the distribution of the output variable using techniques from <a href="Generalized_linear_model" title="Generalized linear model">generalized linear models</a>, such as <a href="Quasi-likelihood" title="Quasi-likelihood">quasi-likelihood</a> and a <a href="Quasibinomial" class="mw-redirect" title="Quasibinomial">quasibinomial</a> model; see <a href="Overdispersion#Binomial" title="Overdispersion">Overdispersion §&nbsp;Binomial</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="In_computer_science">In computer science</h2></div>

<div role="note" class="hatnote navigation-not-searchable">See also: <a href="Binary_file" title="Binary file">Binary file</a></div>
<p>In modern <a href="Computer" title="Computer">computers</a>, binary data refers to any data represented in binary form rather than interpreted on a higher level or <a href="Data_conversion" title="Data conversion">converted</a> into some other form. At the lowest level, bits are stored in a <a href="Bistability" title="Bistability">bistable</a> device such as a <a href="Flip-flop_(electronics)" title="Flip-flop (electronics)">flip-flop</a>. While most binary data has <a href="Symbol" title="Symbol">symbolic</a> meaning (except for <a href="Don't_care" class="mw-redirect" title="Don't care">don't cares</a>) not all binary data is numeric. Some binary data corresponds to <a href="Instruction_(computer_science)" class="mw-redirect" title="Instruction (computer science)">computer instructions</a>, such as the data within <a href="Processor_register" title="Processor register">processor registers</a> decoded by the <a href="Control_unit" title="Control unit">control unit</a> along the <a href="Fetch-decode-execute_cycle" class="mw-redirect" title="Fetch-decode-execute cycle">fetch-decode-execute cycle</a>. Computers rarely modify individual bits for performance reasons. Instead, data is <a href="Data_structure_alignment" title="Data structure alignment">aligned</a> in groups of a fixed number of bits, usually 1 <a href="Byte" title="Byte">byte</a> (8 bits). Hence, "binary data" in computers are actually sequences of bytes. On a higher level, data is accessed in groups of 1 <a href="Word_(computer_architecture)" title="Word (computer architecture)">word</a> (4 bytes) for <a href="32-bit" class="mw-redirect" title="32-bit">32-bit</a> systems and 2 words for <a href="64-bit" class="mw-redirect" title="64-bit">64-bit</a> systems.
</p><p>In applied <a href="Computer_science" title="Computer science">computer science</a> and in the <a href="Information_technology" title="Information technology">information technology</a> field, the term <i>binary data</i> is often specifically opposed to <i><a href="Text-based_data" class="mw-redirect" title="Text-based data">text-based data</a></i>, referring to any sort of data that cannot be interpreted as <a href="Text-based_format" class="mw-redirect" title="Text-based format">text</a>. The "text" vs. "binary" distinction can sometimes refer to the semantic content of a file (e.g. a written document vs. a <a href="Digital_image" title="Digital image">digital image</a>). However, it often refers specifically to whether the individual bytes of a file are interpretable as text (see <a href="Character_encoding" title="Character encoding">character encoding</a>) or cannot so be interpreted. When this last meaning is intended, the more specific terms <i>binary format</i> and <i>text(ual) format</i> are sometimes used. Semantically textual data can be represented in binary format (e.g. when compressed or in certain formats that intermix various sorts of formatting codes, as in the <a href="Doc_(computing)" title="Doc (computing)">doc format</a> used by <a href="Microsoft_Word" title="Microsoft Word">Microsoft Word</a>); contrarily, image data is sometimes represented in textual format (e.g. the <a href="X_PixMap" title="X PixMap">X PixMap</a> image format used in the <a href="X_Window_System" title="X Window System">X Window System</a>).
</p><p>1 and 0 are nothing but just two different voltage levels. You can make the computer understand 1 for higher voltage and 0 for lower voltage. There are many different ways to store two voltage levels. If you have seen floppy, then you will find a magnetic tape that has a coating of ferromagnetic material, this is a type of paramagnetic material that has domains aligned in a particular direction to give a remnant magnetic field even after removal of currents through materials or magnetic field. During loading of data in the magnetic tape, the magnetic field is passed in one direction to call the saved orientation of the domain 1 and for the magnetic field is passed in another direction, then the saved orientation of the domain is 0. In this way, generally, 1 and 0 data are stored.<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2></div>
<ul><li><a href="Bit_array" title="Bit array">Bit array</a></li>
<li><a href="Binary_protocol" class="mw-redirect" title="Binary protocol">Binary protocol</a></li>
<li><a href="Bernoulli_distribution" title="Bernoulli distribution">Bernoulli distribution</a></li>
<li><a href="Boolean_data_type" title="Boolean data type">Boolean data type</a></li>
<li><a href="Computer_memory" title="Computer memory">Computer memory</a></li>
<li><a href="Categorical_data" class="mw-redirect" title="Categorical data">Categorical data</a></li>
<li><a href="Qualitative_data" class="mw-redirect" title="Qualitative data">Qualitative data</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */


.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}


/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-FOOTNOTECollett20021-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-FOOTNOTECollett20021_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-FOOTNOTECollett20021_1-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><a href="#CITEREFCollett2002">Collett 2002</a>, p.&nbsp;1.</span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */


.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}


/* end https://en.wikipedia.org/ */
</style><cite id="CITEREFAgresti2012" class="citation book cs1">Agresti, Alan (2012). "1.2.2 Multinomial Distribution". <a rel="nofollow" class="external text" href="https://books.google.com/books?id=UOrr47-2oisC&amp;pg=PA6"><i>Categorical Data Analysis</i></a> (3rd&nbsp;ed.). Wiley. p.&nbsp;6. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>978-0470463635</bdi>.</cite></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite id="CITEREFGul2022" class="citation web cs1">Gul, Najam (2022-08-18). <a rel="nofollow" class="external text" href="https://www.deepcurious.com/how-do-different-types-of-data-get-stored-in-form-of-0-and-1">"How do different types of Data get stored in form of 0 and 1?"</a>. <i>Curiosity Tea</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2023-01-05</span></span>.</cite></span>
</li>
</ol></div></div>
<style data-mw-deduplicate="TemplateStyles:r1239549316">
/* start https://en.wikipedia.org/ */


.mw-parser-output .refbegin{margin-bottom:0.5em}.mw-parser-output .refbegin-hanging-indents>ul{margin-left:0}.mw-parser-output .refbegin-hanging-indents>ul>li{margin-left:0;padding-left:3.2em;text-indent:-3.2em}.mw-parser-output .refbegin-hanging-indents ul,.mw-parser-output .refbegin-hanging-indents ul li{list-style:none}@media(max-width:720px){.mw-parser-output .refbegin-hanging-indents>ul>li{padding-left:1.6em;text-indent:-1.6em}}.mw-parser-output .refbegin-columns{margin-top:0.3em}.mw-parser-output .refbegin-columns ul{margin-top:0}.mw-parser-output .refbegin-columns li{page-break-inside:avoid;break-inside:avoid-column}@media screen{.mw-parser-output .refbegin{font-size:90%}}


/* end https://en.wikipedia.org/ */
</style><div class="refbegin" style="">
<ul><li><cite id="CITEREFCollett2002" class="citation book cs1">Collett, David (2002). <i>Modelling Binary Data</i> (Second&nbsp;ed.). CRC Press. <a href="ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&nbsp;<bdi>9781420057386</bdi>.</cite></li></ul>
</div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-01-08" href="https://en.wikipedia.org/wiki/?title=Binary_data&amp;oldid=1268270671">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>

</body></html>